#!/usr/bin/python
'''
Created on Feb 1, 2011

@author: mikeg
'''
import wx

class Absolute(wx.Frame):
    def __init__(self, parent, id, title):
        wx.Frame.__init__(self, parent, id, title, size=(250, 180))
        panel = wx.Panel(self, -1)
        
        menubar = wx.MenuBar()
        file = wx.Menu()
        edit = wx.Menu()
        help = wx.Menu()
        
        menubar.Append(file, '&File')
        menubar.Append(edit, '&Edit')
        menubar.Append(help, '&Help')
        self.SetMenuBar(menubar)
        
        wx.TextCtrl(panel, -1, pos=(-1, -1), size=(250, 150))
        
        self.Centre()
        self.Show(True)
        
class Sizer(wx.Frame):
    def __init__(self, parent, id, title):
        wx.Frame.__init__(self, parent, id, title, size=(250, 180))
        
        menubar = wx.MenuBar()
        file = wx.Menu()
        edit = wx.Menu()
        help = wx.Menu()
        
        menubar.Append(file, '&File')
        menubar.Append(edit, '&Edit')
        menubar.Append(help, '&Help')
        self.SetMenuBar(menubar)
        
        wx.TextCtrl(self, -1)
        
        self.Centre()
        self.Show(True)
        
app = wx.App(0)
Sizer(None, -1, '')
#Absolute(None, -1, '')
app.MainLoop()


if __name__ == '__main__':
    pass